'use strict';
const mongoose = require('mongoose');

const familySchema = new mongoose.Schema({
  name: {
    type: String,
    required: true,
    unique: true,
  },
  createTime: {
    type: Date,
    default: Date.now,
  },
  status: {
    type: Number,
    enum: [0, 1],
  },
});

const userSchema = new mongoose.Schema({
  accountName: {
    type: String,
    required: true,
    unique: true,
  },
  password:
});

const booksItem = new mongoose.Schema({

});